//
//  LYRequestTool.h
//  artist
//
//  Created by laotang on 16/4/4.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import <Foundation/Foundation.h>
@class LYCountTestModel;
@class LYIntegrationModel;
@class LYUserInfoModel;
@class LYLoginInfoModel;
@class LYCircleInfoModel;
@class LYCircleListModel;
@class LYPostDetailModel;
@class LYReviewUserModel;
@class LYPostListModel;
@class LYSelectedClassesModel;
@class LYChatFriendsModel;
@class LYArticleModel;
@class LYArticleListModel;
@class LYArticleDetailModel;
@class LYApplyFriendListModel;
@class LYUpdateInfoModel;
@class LYPersonalInfo;
@class LYCollectListModel;
@class LYMyClassListModel;
@class LYMyVideoListModel;
@class LYMypublicInfoModel;
@class LYStudentInfoModel;
@class LYMySubjectListModel;
@class LYSigninModel;
@class LYMyIntegralListModel;
@class LYMyMessageListModel;
@class LYOrderDetailModel;
@class LYOrderCourseInfoModel;
@class LYOrderAddModel;
@class LYOrderListModel;
@class LYOrderCourseInfoModel;
@class LYConditionModel;
@class LYMyAccountListModel;
@class LYMineOrzInfoModel;
@class LYAlipayModel;
@class LYSearchFriendModel;

@class LYVideoListModel;
@class LYSubjectListModel;
@class LYVideoDetailModel;
@class LYSubjectUploadModel;
@class LYTestListModel;
@class LYTestQuestListModel;
@class LYOptionsModel;
@class LYGetSubjectParameterModel;
@class LYSubjectDetailModel;
@class LYMyFollowListModel;
@class LYMineCommentModel;
@class LYCommentListModel;
@class LYBannerModelModel;
@class LYWXPayModel;
@interface LYRequestTool : NSObject

#pragma mark - 会员

typedef void(^requestFailureHandle)(NSString *code, NSString *message) ;

// 登录
+ (void)loginWithUserName:(NSString *)userName
                 Password:(NSString *)password
                  success:(void (^)(LYLoginInfoModel *))success
                  failure:(void(^)(NSString *code, NSString *message)) failure;

// 注册
+ (void)registerWithUserName:(NSString *)userName
                 Password:(NSString *)password
                 verify_code:(NSString *)verify_code
                  success:(void (^)(NSString *token))success
                  failure:(requestFailureHandle)failure;


// 发送信息验证码
+ (void)sendMessageVerificationWithmobile_phone:(NSString *)mobile_phone
                    verify_type:(LYverifyType)verify_type
                     success:(void (^)(NSString *))success
                     failure:(requestFailureHandle)failure;

// 获取会员的信息
+ (void)acquireUserInfoWithToken:(NSString *)token
                     success:(void (^)(LYUserInfoModel *))success
                     failure:(requestFailureHandle)failure;

// 重置密码
+ (void)resetPasswordWithUserName:(NSString *)userName
                    Password:(NSString *)password
                 verify_code:(NSString *)verify_code
                     success:(void (^)(void))success
                     failure:(requestFailureHandle)failure;

//修改密码
+ (void)updateUserPwdWithToken:(NSString *)token
                       old_pwd:(NSString *)oldPwd
                        newPwd:(NSString *)NewPwd
                       success:(void (^)(void))success
                       failure:(requestFailureHandle)failure;

#pragma mark - 更新信息,三个公用一个接口
+ (void)setPersonalInfo:(LYUpdateInfoModel *)personalInfo
              success:(void (^)(void))success
              failure:(requestFailureHandle)failure;




//


/*
nick_name : 昵称
 head_pic : 头像
 birthday : 1990-01-01
 sex :
 */
+ (void)updateUserInfoWithToken:(NSString *)token
                         nick_name:(NSString *)nick_name
                      head_pic:(NSString *)head_pic
                       birthday:(NSString *)birthday
                       sex:(NSString *)sex
                          success:(void (^)(void))success
                          failure:(requestFailureHandle)failure;




#pragma mark - 关注、收藏、点赞

/**
 *  关注
 */
+ (void)followWithToken:(NSString *)token
                      to_user_id:(NSString *)to_user_id
                        success:(void (^)(void))success
                        failure:(requestFailureHandle)failure;
/**
 *  取消关注
 */
+ (void)cancelfollowWithToken:(NSString *)token
             to_user_id:(NSString *)to_user_id
                success:(void (^)(void))success
                failure:(requestFailureHandle)failure;

/**
 *  收藏
 */
+ (void)collectionWithToken:(NSString *)token
             type:(ObjectType)type
                 data_id:(NSString *)data_id
                success:(void (^)(void))success
                failure:(requestFailureHandle)failure;
/**
 *  取消收藏
 */
+ (void)cancelCollectionWithToken:(NSString *)token
                             type:(ObjectType)type
                          data_id:(NSString *)data_id                      success:(void (^)(void))success
                      failure:(requestFailureHandle)failure;

/**
 *  点赞
 */
+ (void)praiseWithToken:(NSString *)token
                   type:(ObjectType)type
                data_id:(NSString *)data_id
                success:(void (^)(void))success
                    failure:(requestFailureHandle)failure;
/**
 *  取消点赞
 */
+ (void)cancelPraiseWithToken:(NSString *)token
                         type:(ObjectType)type
                      data_id:(NSString *)data_id
                      success:(void (^)(void))success
                          failure:(requestFailureHandle)failure;




#pragma mark - 好友、好友申请

/**
 *  申请好友
 */
+ (void)getApplyFriendWithToken:(NSString *)token
                           to_user_id:(NSString *)to_user_id
                        remark:(NSString *)remark
                        success:(void (^)(NSString *userID))success
                        failure:(requestFailureHandle)failure;

/**
 *  申请好友列表
 */
+ (void)getApplyFriendListWithToken:(NSString *)token
                     page:(NSString *)page
                         per_page:(NSString *)per_page
                        success:(void (^)(NSArray<LYApplyFriendListModel *> *))success
                        failure:(requestFailureHandle)failure;


+ (void)searchFriendWithToken:(NSString *)token
                         keyword:(NSString *)keyword
                      success:(void (^)(NSArray<LYSearchFriendModel *> *))success
                      failure:(requestFailureHandle)failure;


#pragma mark - 其他会员的信息

+ (void)getOtherInfoWithToken:(NSString *)token
                   to_user_id:(NSString *)to_user_id
                      success:(void (^)(LYPersonalInfo *))success
                      failure:(requestFailureHandle)failure;


#pragma mark - 我的积分、课程、视频、关注、发布


+ (void)getMyIntegralWithToken:(NSString *)token
                                success:(void (^)(NSString *integral))success
                                failure:(requestFailureHandle)failure;

+ (void)getMyCollectionWithToken:(NSString *)token
                            type:(ObjectType)type
                       success:(void (^)(NSArray *))success
                       failure:(requestFailureHandle)failure;




+ (void)getMyClassWithToken:(NSString *)token
                       page:(NSString *)page
                       per_page:(NSString *)per_page
                         success:(void (^)(NSArray <LYMyClassListModel *>*))success
                         failure:(requestFailureHandle)failure;

+ (void)closeClassWithToken:(NSString *)token
                  course_id:(NSString *)course_id
                    success:(void(^)())success
                    failure:(requestFailureHandle)failure;

+ (void)getMyVideoWithToken:(NSString *)token
                       page:(NSString *)page
                   per_page:(NSString *)per_page
                    success:(void (^)(NSArray <LYMyVideoListModel *>*))success
                    failure:(requestFailureHandle)failure;

+ (void)getMyPublicWithToken:(NSString *)token
                       page:(NSString *)page
                   per_page:(NSString *)per_page
                    success:(void (^)(NSArray <LYPostDetailModel *>*))success
                    failure:(requestFailureHandle)failure;

+ (void)getMyFollowListWithToken:(NSString *)token
                         role_id:(LYRoleType)role_id
                         success:(void (^)(NSArray <LYPersonalInfo *>*))success
                         failure:(requestFailureHandle)failure;
+ (void)getCanuseIntegrationWithToken:(NSString *)token
                              success:(void (^)(LYIntegrationModel*))success
                              failure:(requestFailureHandle)failure;

#pragma mark - 获取学生信息

+ (void)getStudentInfoWithToken:(NSString *)token
                     to_user_id:(NSString *)to_user_id
                        success:(void (^)(LYStudentInfoModel*))success
                        failure:(requestFailureHandle)failure;


#pragma mark - 获取我的兴趣列表、更新

+ (void)getMySubjectListWithToken:(NSString *)token
                          success:(void (^)(NSArray <LYMySubjectListModel *>*))success
                          failure:(requestFailureHandle)failure;


/**
 *  更新我的兴趣
 *
 *  @param subject_id 2,3,4 // 用逗号隔开
 */
+ (void)updateMySubjectListWithToken:(NSString *)token
                          subject_id:(NSString *)subject_id
                          success:(void (^)())success
                          failure:(requestFailureHandle)failure;


#pragma mark - 每日签到/签到查询


+ (void)userSiginWithToken:(NSString *)token
                   success:(void (^)())success
                   failure:(requestFailureHandle)failure;

/**
 *  查询签到
 * 格式 ： 2016-04-01
 */
+ (void)userSiginListsWithToken:(NSString *)token
                     start_date:(NSString *)start_date
                     end_date:(NSString *)end_date
                   success:(void (^)(NSArray<LYSigninModel *> *))success
                   failure:(requestFailureHandle)failure;

#pragma mark - 我的评价、更新我的评价
#warning 还没有写完
+ (void)getMyCommenttWithToken:(NSString *)token
                    page:(NSString *)page
                      per_page:(NSString *)per_page
                          success:(void (^)(NSArray <LYMineCommentModel *>*))success
                          failure:(requestFailureHandle)failure;


/**
 *  更新我的评价
 *
 *  @param subject_id 2,3,4 // 用逗号隔开
 */
+ (void)updateMyCommenttWithToken:(NSString *)token
                          comment_id:(NSString *)comment_id
                       content:(NSString *)content
                       star:(NSString *)star
                             success:(void (^)())success
                             failure:(requestFailureHandle)failure;


#pragma mark - 消息列表、未读消息数、标记已读消息
+ (void)getUnreadListMessageWithToken:(NSString *)token
                              success:(void (^)(NSArray<LYMyMessageListModel *> *))success
                              failure:(requestFailureHandle)failure;

+ (void)getUnreadCountMessageWithToken:(NSString *)token
                              success:(void (^)(NSString *))success
                              failure:(requestFailureHandle)failure;
/**
 *  标记以已读的信息
  * id 的格式 ： 1,2,3
 */
+ (void)signUnreadMessageWithToken:(NSString *)token
                                id:(NSString *)Id
                               success:(void (^)())success
                               failure:(requestFailureHandle)failure;
#pragma mark - 积分日志
+ (void)getIntegralListWithToken:(NSString *)token
                         success:(void (^)(NSArray<LYMyIntegralListModel *> *))success
                         failure:(requestFailureHandle)failure;

#pragma mark - 获取七牛的token
+ (void)acquirQiNiusuccess:(void (^)(NSString *))success
                 failure:(requestFailureHandle)failure;


/**
 *  检查圈子的权限
 */
+ (void)checkCicleAuthorizationWithToken:(NSString *)token
                 success:(void (^)(NSString *))success
                 failure:(requestFailureHandle)failure;

/**
 *  检查圈子名称是否存在
 */
+ (void)checkCiclExistWithToken:(NSString *)token
                     circleName:(NSString *)circleName
                                 success:(void (^)(NSString *))success
                        failure:(requestFailureHandle)failure;

#warning 这个接口还没有写好
/**
 *  这一接口还没有写好
 */
+ (void)creatCiclExistWithToken:(NSString *)token
                     circleName:(NSString *)circleName
                           type:(LYCicleType )type
                           desc:(NSString *)desc
                        success:(void (^)(NSString *))success
                        failure:(requestFailureHandle)failure;

/**
 *  获取圈子的信息
 */
+ (void)acquirCircleInfoWithToken:(NSString *)token
                        circle_id:(NSString *)circle_id
                           success:(void (^)(LYCircleInfoModel *))success
                   failure:(requestFailureHandle)failure;
/**
 *  获取列表的信息 , 
* type = all（获取所有的圈子） , 或者type = self（获取自己创建的圈子）
 */
+ (void)acquirCircleListWithToken:(NSString *)token
                        type:(NSString *)type
                          success:(void (^)(NSArray<LYCircleListModel *> *))success
                        failure:(requestFailureHandle)failure;
/**
 *  加入圈子
 */
+ (void)joinCircleListWithToken:(NSString *)token
                             circle_id:(NSString *)circle_id
                          success:(void (^)(void))success
                          failure:(requestFailureHandle)failure;


/**
 *  退出圈子
 */
+ (void)exitCircleListWithToken:(NSString *)token
                      circle_id:(NSString *)circle_id
                        success:(void (^)(void))success
                        failure:(requestFailureHandle)failure;

/**
 *  发布帖子，images =  http://1.jpg,http://2.jpg
 */
+ (void)publicPosttWithToken:(NSString *)token
                      circle_id:(NSString *)circle_id
                   content:(NSString *)content
                   images:(NSString *)images
                        success:(void (^)(NSString * topicId))success
                        failure:(requestFailureHandle)failure;


+ (void)acquirCircleListWithToken:(NSString *)token
                             topic_id:(NSString *)topic_id
                          success:(void (^)(LYPostDetailModel *))success
                          failure:(requestFailureHandle)failure;

/**
 *  圈子的帖子列表
 *
 *  @param type    circle
 */
+ (void)acquirPostCircleListWithToken:(NSString *)token
                                 type:(NSString *)type
                            circle_id:(NSString *)circle_id
                                 page:(NSString *)page
                             per_page:(NSString *)per_page
                              success:(void (^)(NSArray<LYPostDetailModel*> *))success
                              failure:(requestFailureHandle)failure;

/**
 *  帖子点赞
 *
 *  @param type    circle
 */
+ (void)parisePostWithToken:(NSString *)token
                            topic_id:(NSString *)topic_id
                              success:(void (^)(void))success
                              failure:(requestFailureHandle)failure;


/**
 *  取消点赞
 *
 *  @param type    circle
 */
+ (void)cnacelParisePostWithToken:(NSString *)token
                   topic_id:(NSString *)topic_id
                    success:(void (^)(void))success
                    failure:(requestFailureHandle)failure;


/**
 *  浏览过帖子的用户
 */
+ (void)acquirViewUsersWithToken:(NSString *)token
                         topic_id:(NSString *)topic_id
                          success:(void (^)(NSArray <LYReviewUserModel *> *))success
                          failure:(requestFailureHandle)failure;

/**
 *  赞过帖子的用户
 */
+ (void)acquirPariseUsersWithToken:(NSString *)token
                        topic_id:(NSString *)topic_id
                         success:(void (^)(NSArray <LYReviewUserModel *> *))success
                         failure:(requestFailureHandle)failure;



/**
 *  关注帖子
 */
+ (void)followPostWithToken:(NSString *)token
                          topic_id:(NSString *)topic_id
                           success:(void (^)(void))success
                           failure:(requestFailureHandle)failure;

/**
 *  取消关注帖子
 */
+ (void)cancelFollowPostWithToken:(NSString *)token
                   topic_id:(NSString *)topic_id
                    success:(void (^)(void))success
                    failure:(requestFailureHandle)failure;


/**
 *  帖子评论
 */
+ (void)commentPostWithToken:(NSString *)token
                    topic_id:(NSString *)topic_id
                  to_user_id:(NSString *)to_user_id
                        content:(NSString *)content
                          success:(void (^)(NSString *comment_id))success
                          failure:(requestFailureHandle)failure;


/**
 *  帖子评论列表
 */
+ (void)getCommentListWithToken:(NSString *)token
                           type:(CommentType)type
                        data_id:(NSString *)data_id
                        success:(void (^)(NSArray<LYCommentListModel *>*))success
                        failure:(requestFailureHandle)failure;

/**
 *  评论
 */

+ (void)sendCommentWithToken:(NSString *)token
                        type:(CommentType)type
                  to_user_id:(NSString *)to_user_id
                     data_id:(NSString *)data_id
                     content:(NSString *)content
                        star:(NSInteger)star
                    order_sn:(NSString *)order_sn
                     success:(void (^)(void))success
                     failure:(requestFailureHandle)failure;

+ (void)getClassesListWithToken:(NSString *)token success:(void (^)(NSArray <LYSelectedClassesModel *> *))success failure:(requestFailureHandle)failure;

+ (void)postVideoWithToken:(NSString *)token title:(NSString *)title desc:(NSString *)desc
                      link:(NSString *)link image:(NSString *)image success:(void (^)())success failure:(requestFailureHandle)failure;


/**
 *  好友列表
 */
+ (void)acquirFriendssWithToken:(NSString *)token
                        success:(void (^)(NSArray <LYChatFriendsModel *> *))success
                        failure:(requestFailureHandle)failure;

+ (void)addFriendssWithToken:(NSString *)token
                      userID:(NSString *)userID
                     success:(void (^)())success
                     failure:(requestFailureHandle)failure;

+ (void)deleteFriendssWithToken:(NSString *)token
                         userID:(NSString *)userID
                        success:(void (^)())success
                        failure:(requestFailureHandle)failure;


#pragma mark - 文章
/**
 *  获取科目接口
 */
+ (void)getCategorylistWithPid:(NSString *)pid
                         success:(void (^)(NSArray <LYArticleModel *> *))success
                         failure:(requestFailureHandle)failure;

/**
 *  获取文章列表
 */
+ (void)getArticlelistsWithCategoryId:(NSString *)categoryId
                        page:(NSString *)page
                        perPpage:(NSString *)perPage
                       success:(void (^)(NSArray <LYArticleListModel *> *))success
                       failure:(requestFailureHandle)failure;


/**
 *  获取文章详情
 */

+ (void)getArticlelistsWithId:(NSString *)Id
                       success:(void (^)(LYArticleDetailModel *))success
                       failure:(requestFailureHandle)failure;


#pragma mark - 订单支付
+ (void)orderCancelWithToken:(NSString *)token
                    order_sn:(NSString *)order_sn
                     success:(void (^)())success
                     failure:(requestFailureHandle)failure;

+ (void)orderAddWithToken:(NSString *)token
                     course_id:(NSString *)course_id
                  use_integral:(NSString *)use_integral
                  success:(void (^)(LYOrderAddModel *))success
                  failure:(requestFailureHandle)failure;


+ (void)orderDetailWithToken:(NSString *)token
                order_sn:(NSString *)order_sn
                  success:(void (^)(LYOrderDetailModel *))success
                  failure:(requestFailureHandle)failure;

+ (void)orderAddWithToken:(NSString *)token
                     type:(LYOrderState)type
                     page:(NSString *)page
                 per_page:(NSString *)per_page
                  success:(void (^)(NSArray <LYOrderListModel *> *))success
                  failure:(requestFailureHandle)failure;


+ (void)applyRefundWithToken:(NSString *)token
                     orderSn:(NSString *)order_sn
                     success:(void(^)())success
                     failure:(requestFailureHandle)failure;

+ (void)getPayUnionpayWithToken:(NSString *)token
                           order_sn:(NSString *)order_sn
                        success:(void (^)(NSString  *))success
                        failure:(requestFailureHandle)failure;

+ (void)getWeChatWithToken:(NSString *)token
                       order_sn:(NSString *)order_sn
                        success:(void (^)(LYWXPayModel  *))success
                        failure:(requestFailureHandle)failure;
+ (void)getAlipaySignyWithToken:(NSString *)token
                       order_sn:(NSString *)order_sn
                        success:(void (^)(LYAlipayModel  *))success
                        failure:(requestFailureHandle)failure;

+ (void)scanVerifyWithToken:(NSString *)token
                       order_sn:(NSString *)order_sn
                   verify_code:(NSString *)verify_code
                        success:(void (^)(NSString  *))success
                        failure:(requestFailureHandle)failure;
#warning - 获取支付宝‘微信、银联的接口有问题



#pragma mark - 机构、老师
+ (void)getTeacherWithToken:(NSString *)token
                to_user_id:(NSString *)to_user_id
                  success:(void (^)(NSArray<LYPersonalInfo *> *))success
                  failure:(requestFailureHandle)failure;


+ (void)getLocalTeacherAndOrganizationWithcontionModel:(LYConditionModel *)condiction
                                success:(void (^)(NSArray<LYPersonalInfo *> *))success
                                failure:(requestFailureHandle)failure;
+ (void)getMyTeacherWithToken:(NSString *)token
                         page:(NSString *)page
                     per_page:(NSString *)per_page
                      success:(void (^)(NSArray<LYPersonalInfo *> *))success
                      failure:(requestFailureHandle)failure;

+ (void)getMyOrganizationWithToken:(NSString *)token
                                     success:(void (^)(LYMineOrzInfoModel *))success
                                     failure:(requestFailureHandle)failure;

+ (void)addTeacherWithToken:(NSString *)token
                 to_user_id:(NSString *)to_user_id
                           success:(void (^)())success
                           failure:(requestFailureHandle)failure;

+ (void)deleteTeacherWithToken:(NSString *)token
                    to_user_id:(NSString *)to_user_id
                    success:(void (^)())success
                    failure:(requestFailureHandle)failure;


+ (void)addOriganzationWithToken:(NSString *)token
                      to_user_id:(NSString *)to_user_id
                         success:(void (^)())success
                         failure:(requestFailureHandle)failure;

+ (void)getMyCountWithToken:(NSString *)token
                       page:(NSString *)page
                   per_page:(NSString *)per_page
                    success:(void (^)(NSArray<LYMyAccountListModel *>*,NSString *balance))success
                    failure:(requestFailureHandle)failure;

#pragma mark - 机构的搜索
+ (void)searchWithToken:(NSString *)token
                   keyword:(NSString *)keyword
                   role_id:(LYRoleType)role_id
                       page:(NSString *)page
                   per_page:(NSString *)per_page
                    success:(void (^)(NSArray<LYPersonalInfo *>*))success
                    failure:(requestFailureHandle)failure;


#pragma mark - 课程视频

/**
 *  课程推荐列表
 *
 */
+ (void)commandSubjectListWithToken:(NSString *)token
                          success:(void (^)(NSArray<LYMyClassListModel *>*))success

                          failure:(requestFailureHandle)failure;

/**
 * 课程列表

 to_user_id 谁的课程 subject_id 科目 keyword 搜索关键字 order 排序字段，1按评价升序，2按评价降序，3按距离升序，4按距离降序

 */
+ (void)getSubjectListWithParmeterModel:(LYGetSubjectParameterModel *)parameterModel
                             success:(void (^)(NSArray<LYMyClassListModel *>*))success
                             failure:(requestFailureHandle)failure;
/**
 *  课程详情
 */
+ (void)getSubjectDeatilWithToken:(NSString *)token
                        course_id:(NSString *)course_id
                          success:(void (^)(LYSubjectDetailModel *))success
                          failure:(requestFailureHandle)failure;


/**
 *  新增课程
 */
+ (void)addSubjecWithParmeterModel:(LYSubjectUploadModel *)uploadModel
                            success:(void (^)(NSString *))success
                            failure:(requestFailureHandle)failure;



/**
 *  获取视频列表
 */
+ (void)getVideoListWithToken:(NSString *)token
                   to_user_id:(NSString *)to_user_id
                      keyword:(NSString *)keyword
                        order:(NSString *)order
                         page:(NSString *)page
                     per_page:(NSString *)per_page
                      success:(void (^)(NSArray<LYMyVideoListModel *>*))success
                      failure:(requestFailureHandle)failure;

/*
 * 视频详情
 */
+ (void)getVideoDeatilWithToken:(NSString *)token
                           video_id:(NSString *)video_id
                            success:(void (^)(LYVideoDetailModel *))success
                            failure:(requestFailureHandle)failure;
/**
 *  在线测试- 列表
 */
+ (void)getOnlineTestListWithPage:(NSString *)page
                         per_page:(NSString *)per_page
                          success:(void (^)(NSArray<LYTestListModel *>*))success
                          failure:(requestFailureHandle)failure;


/**
 *  在线测试题目数据
 *
 */
+ (void)onlineTestWithQuestId:(NSString *)Id
                            success:(void (^)(NSArray<LYTestQuestListModel *>*))success
                            failure:(requestFailureHandle)failure;
/**
 *  统计题目
 */
+ (void)countTestWithcountTestModel:(LYCountTestModel *)model
                            success:(void (^)())success
                            failure:(requestFailureHandle)failure;


#pragma mark - 意见反馈
+ (void)sendSuggestionWithToken:(NSString *)token
                        content:(NSString *)content
                        contact:(NSString *)contact
                        success:(void (^)())success
                        failure:(requestFailureHandle)failure;

#pragma mark - 轮播图

+ (void)getSlideImageWithToken:(NSString *)token
                    slide_type:(LYSlideType )slide_type
                       success:(void (^)(NSArray<LYBannerModelModel *>*))success
                       failure:(requestFailureHandle)failure;

#pragma mark - 申请提现
+ (void)applyChangeCashWithToken:(NSString *)token
                           money:(NSString *)money
                         success:(void (^)())success
                         failure:(requestFailureHandle)failure;



@end


